package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 书对应的年级
 * </p>
 *
 * @author hpiggy
 * @since 2025-06-04
 */
@Data
@TableName("book_text_year_class")
@ApiModel(value = "BookTextYearClass对象", description = "书对应的年级")
public class BookTextYearClass implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long bookTextId;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("年级id")
    private Integer yearClassId;


}
